package com.wangzh.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wangzh.entity.Book;

import java.util.List;


public interface IBookService extends IService<Book> {

    public boolean update(Book book);
    public boolean save(Book book);
    public boolean delete(Integer id);
    public Book getById(Integer id);
    public List<Book> getList(Book book);

    IPage<Book> getPage(IPage<Book> page, Book book);
}
